Script: -- Example by Alan Pabst, Heizer Software¬--on windowEvent wdID,wdName,objNo,objName,objValue¬¬if objValue="Open" then ¬ ¬else if objValue="Close" then ¬ ¬else if objValue="Suspend" then ¬ ¬else if objValue="Resume" then ¬ ¬else if objValue="CloseBox" then ¬ ¬else if objValue="ZoomBox" then ¬ ¬else if objValue="GrowBox" then ¬ ¬else if objValue="TitleBar" then ¬ ¬end if¬¬--end windowEvent
ItemType: PUSH
Rect: 265,144,337,164
BlackColor: 17476,0,0
Name: OK
DefaultItem: TRUE
AutoClose: TRUE
Balloon: The OK button will close the current window.
Balloon: This is a radio button. Clicking on it will show all ICON resources that are currently available.
Script: --on mouseUp wdID,wdName,objNo,objName,objValue¬set cursor to watch¬get resourceList("ICON",BOTH)¬put it into nameList¬get the number of lines in nameList¬put it into theCount¬repeat with i = 1 to theCount¬ put word 1 of line i of nameList &" " before line i of nameList¬end repeat¬get "i2_Style:ListWithIcons" & return & "i2_Text:"&scrunch(nameList)¬set the properties of window wdName to it¬--end mouseUp
ItemType: RAD
Rect: 236,35,293,51
BlackColor: 17476,0,0
Name: ICN#
Hilite: TRUE
Balloon: This is a radio button. Clicking on it will show all ICN# resources that are currently available.
Script: --on mouseUp wdID,wdName,objNo,objName,objValue¬set cursor to watch¬get resourceList("ICN#",ID)¬put it into eyeList¬get "i2_Style:ListOfFinderIcons"& return & "i2_Text:"&scrunch(eyeList)¬set the properties of window wdName to it¬--end mouseUp
ItemType: RAD
Rect: 236,51,288,67
BlackColor: 17476,0,0
Name: PICT
Balloon: This is a radio button. Clicking on it will show all PICT resources that are currently available.
Script: --on mouseUp wdID,wdName,objNo,objName,objValue¬set cursor to watch¬get resourceList("PICT",ID)¬put it into eyeList¬get "i2_Style:ListOfPictures"& return & "i2_Text:"&scrunch(eyeList)¬set the properties of window wdName to it¬--end mouseUp
ItemType: RAD
Rect: 236,67,296,83
BlackColor: 17476,0,0
Name: XCMD
Balloon: This is a radio button. Clicking on it will show a list of all XCMD resources that are currently available.
Script: --on mouseUp wdID,wdName,objNo,objName,objValue¬set cursor to watch¬get resourceList("XCMD",BOTH)¬put " " &it into eyeList¬get "i2_Style:Standard"& return & "i2_Text:"&scrunch(eyeList)¬set the properties of window wdName to it¬--end mouseUp
ItemType: RAD
Rect: 236,83,292,99
BlackColor: 17476,0,0
Name: XFCN
Balloon: This is a radio button. Clicking on it will show a list of all XFCN resources that are currently available.
Script: --on mouseUp wdID,wdName,objNo,objName,objValue¬set cursor to watch¬get resourceList("XFCN",BOTH)¬put " " &it into eyeList¬get "i2_Style:Standard"& return & "i2_Text:"&scrunch(eyeList)¬set the properties of window wdName to it¬--end mouseUp
ItemType: RAD
Rect: 236,99,290,115
BlackColor: 17476,0,0
Name: LENS
Balloon: This is a radio button. Clicking on it will show a list of all LENS resources that are currently available.
Script: --on mouseUp wdID,wdName,objNo,objName,objValue¬set cursor to watch¬get resourceList("LENS",BOTH)¬put " " &it into eyeList¬get "i2_Style:Standard"& return & "i2_Text:"&scrunch(eyeList)¬set the properties of window wdName to it¬--end mouseUp
ItemType: RAD
Rect: 236,115,296,131
BlackColor: 17476,0,0
Name: MENU
Balloon: This is a radio button. Clicking on it will show a list of all MENU resources that are currently available.
Script: --on mouseUp wdID,wdName,objNo,objName,objValue¬set cursor to watch¬get resourceList("MENU",BOTH)¬put " " &it into eyeList¬get "i2_Style:Standard"& return & "i2_Text:"&scrunch(eyeList)¬set the properties of window wdName to it¬--end mouseUp
ItemType: RAD
Rect: 308,19,368,35
BlackColor: 17476,0,0
Name: MBAR
Balloon: This is a radio button. Clicking on it will show a list of all MBAR resources that are currently available.
Script: --on mouseUp wdID,wdName,objNo,objName,objValue¬set cursor to watch¬get resourceList("MBAR",BOTH)¬put " " &it into eyeList¬get "i2_Style:Standard"& return & "i2_Text:"&scrunch(eyeList)¬set the properties of window wdName to it¬--end mouseUp
ItemType: RAD
Rect: 308,35,366,51
BlackColor: 17476,0,0
Name: MDEF
Balloon: This is a radio button. Clicking on it will show a list of all MDEF resources that are currently available.
Script: --on mouseUp wdID,wdName,objNo,objName,objValue¬set cursor to watch¬get resourceList("MDEF",BOTH)¬put " " &it into eyeList¬get "i2_Style:Standard"& return & "i2_Text:"&scrunch(eyeList)¬set the properties of window wdName to it¬--end mouseUp
ItemType: RAD
Rect: 308,51,361,67
BlackColor: 17476,0,0
Name: LDEF
Balloon: This is a radio button. Clicking on it will show a list of all LDEF resources that are currently available.
Script: --on mouseUp wdID,wdName,objNo,objName,objValue¬set cursor to watch¬get resourceList("LDEF",BOTH)¬put " " &it into eyeList¬get "i2_Style:Standard"& return & "i2_Text:"&scrunch(eyeList)¬set the properties of window wdName to it¬--end mouseUp
ItemType: RAD
Rect: 308,67,362,83
BlackColor: 17476,0,0
Name: CDEF
Balloon: This is a radio button. Clicking on it will show a list of all CDEF resources that are currently available.
Script: --on mouseUp wdID,wdName,objNo,objName,objValue¬set cursor to watch¬get resourceList("CDEF",BOTH)¬put " " &it into eyeList¬get "i2_Style:Standard"& return & "i2_Text:"&scrunch(eyeList)¬set the properties of window wdName to it¬--end mouseUp
ItemType: RAD
Rect: 308,83,359,99
BlackColor: 17476,0,0
Name: TEXT
Balloon: This is a radio button. Clicking on it will show a list of all TEXT resources that are currently available.
Script: --on mouseUp wdID,wdName,objNo,objName,objValue¬set cursor to watch¬get resourceList("TEXT",BOTH)¬put " " &it into eyeList¬get "i2_Style:Standard"& return & "i2_Text:"&scrunch(eyeList)¬set the properties of window wdName to it¬--end mouseUp
ItemType: RAD
Rect: 308,99,357,115
BlackColor: 17476,0,0
Name: STR
Balloon: This is a radio button. Clicking on it will show a list of all STR resources that are currently available.
Script: --on mouseUp wdID,wdName,objNo,objName,objValue¬set cursor to watch¬get resourceList("STR ",BOTH)¬put " " &it into eyeList¬get "i2_Style:Standard"& return & "i2_Text:"&scrunch(eyeList)¬set the properties of window wdName to it¬--end mouseUp
ItemType: RAD
Rect: 308,115,363,131
BlackColor: 17476,0,0
Name: STR#
Balloon: This is a radio button. Clicking on it will show a list of all STR# resources that are currently available.
Script: --on mouseUp wdID,wdName,objNo,objName,objValue¬set cursor to watch¬get resourceList("STR#",BOTH)¬put " " &it into eyeList¬get "i2_Style:Standard"& return & "i2_Text:"&scrunch(eyeList)¬set the properties of window wdName to it¬--end mouseUp